import requst from "./request"

// export const indexData=function(){
//     axios.get('/index/index')
// }
//get的写法 （带参数）
// export const searchTipsData = (params) => requst.get('/search/helper', {params})
//post的写法 （带参赛)
// export const searchTipsData = (params) => requst.post('/search/helper', params)

export const loginApi = (data) => requst.post('/admin/login',data)
export const getAdminInfo = () => requst.get('/admin/info')
